export default {
  splitNumber(src) {
    const rs = src.includes('.') ? `${src}` : `${src}.0`
    const arr = ( rs || '0.0').split('.')
    return {
      integer: arr[0],
      float: arr[1]
    }
  }
}